package com.goldgov.code.template.point.impl;

import com.goldgov.code.template.point.CodePoint;

public class ImportCodePoint extends CodePoint{

	private final String importClass;

	public ImportCodePoint(String importClass) {
		super("JAVA:IMPORT");
		this.importClass = importClass;
	}
	
	public ImportCodePoint(Class<?> importClass) {
		super("JAVA:IMPORT");
		this.importClass = importClass.getName();
	}

	@Override
	public String getCodes() {
		return "import " + importClass +";\r\n";
	}

	
}
